package com.ruoyi.property.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公摊公式对象 pro_equally_shared_formula
 * 
 * @author sux
 * @date 2021-06-29
 */
public class EquallySharedFormula extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公式ID */
    private Integer formulaId;

    /** 公式 */
    @Excel(name = "公式")
    private String formulaValue;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 描述 */
    @Excel(name = "描述")
    private String formulaDesc;

    public void setFormulaId(Integer formulaId) 
    {
        this.formulaId = formulaId;
    }

    public Integer getFormulaId() 
    {
        return formulaId;
    }
    public void setFormulaValue(String formulaValue) 
    {
        this.formulaValue = formulaValue;
    }

    public String getFormulaValue() 
    {
        return formulaValue;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setFormulaDesc(String formulaDesc) 
    {
        this.formulaDesc = formulaDesc;
    }

    public String getFormulaDesc() 
    {
        return formulaDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("formulaId", getFormulaId())
            .append("formulaValue", getFormulaValue())
            .append("price", getPrice())
            .append("formulaDesc", getFormulaDesc())
            .toString();
    }
}
